package com.yunsc.system.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.system.entity.YunscStoreMenuApiEntity;
import com.yunsc.system.entity.YunscStoreMenuEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-04-21 19:21
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StoreMenuVO extends YunscStoreMenuEntity {

    @JsonProperty("apiIds")
    private List<Integer> apiIds; // 菜单关联的apiId

    private List<StoreMenuVO> children; // 子菜单

    @JsonProperty("menuApi")
    private List<YunscStoreMenuApiEntity> menuApi; // 菜单关联的api


}
